<? if (!defined("BASEPATH")) exit("No direct script access allowed");
//Common::pr($arrCountryCity);
if(isset($arrCountryCity)) {
	echo	"<hr/>";
	echo	"<section>";
	echo		"<h2 class=\"blue title\">".$this->lang->line("FEATURED_COUNTRIES_AND_CITIES")."</h2>";
	echo		"<div class=\"cols\">";
	foreach($arrCountryCity as $couData) {
		echo			"<article class=\"col\">";
		echo				anchor($couData["conUrlName"]."/".$couData["couUrlName"], (($couData["couImageNameThumb"])?("<img src=\"".UPLOADS.$couData["couImageNameThumb"]."\" alt=\"".$couData["couImageAlt"]."\" />"):("<img src=\"".MEDIA."images/no_image.png\" alt=\"".$this->lang->line("NO_IMAGE_AVAILABLE")."\" />")), "class=\"framed\"", $forced = TRUE);
		echo				"<h3>".anchor($couData["conUrlName"]."/".$couData["couUrlName"], $couData["couName"], "", $forced = TRUE)."</a></h3>";
		if(isset($couData["cities"])) {
			echo				"<ul>";
			foreach($couData["cities"] as $cityData) {
					echo					"<li>".anchor($cityData["conUrlName"]."/".$cityData["couUrlName"]."/".$cityData["cityUrlName"], $cityData["cityName"], "", $forced = TRUE)."</a></li>";
			}
			echo				"</ul>";
		}
		echo			"</article>";
	}
	echo		"</div>";
	echo	"</section>";
}